package com.xbs.dao.enterprise;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.xbs.dao.conn.BaseDao;
import com.xbs.dao.conn.ParamSetimpl;
import com.xbs.dao.conn.RowDatas;
import com.xbs.entity.UserEntity;

public class EnterpriseLoginDao extends BaseDao {
	
	private RowDatas<UserEntity> rd;
	
	public List<UserEntity> getUser(){
		rd=new RowDatas<UserEntity>() {

			@Override
			public UserEntity getRowData(ResultSet rs) throws SQLException {
				UserEntity user=new UserEntity();
				user.setUser_email("user_email");
				return user;
			}
		};
		String sql="select * from tb_user";
		
		return queryList(sql, rd);
	}
	
}
